//
//  LGTestController.m
//  微博oc版
//
//  Created by Apple_Lzzy27 on 16/10/10.
//  Copyright © 2016年 Apple_Lzzy27. All rights reserved.
//

#import "LGTestController.h"

@interface LGTestController ()

@end

@implementation LGTestController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.navigationController.navigationBar setTintColor:[UIColor darkGrayColor]];
    self.navItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustButton:@"下一个" fontSize:14 addTarget:self action:@selector(back)];
    self.navItem.title = [NSString stringWithFormat:@"第%zd个",self.navigationController.childViewControllers.count];
    self.view.backgroundColor =  [UIColor cz_randomColor];
    
}

- (void)back{
    
    
    [self.navigationController pushViewController:[[LGTestController alloc] init] animated:YES];
}
@end
